/* 
    该文件专门用于暴露一一个store对象， 整个应用只有一个store对 象
*/

import { createStore,applyMiddleware } from 'redux'

import countReducer from './count_reducer'

//  让redux支持异步
import thunk from 'redux-thunk';

const store = createStore(countReducer,applyMiddleware(thunk))




export default store;